﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200003F RID: 63
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AddBlacklistScRsp : IMessage<AddBlacklistScRsp>, IMessage, IEquatable<AddBlacklistScRsp>, IDeepCloneable<AddBlacklistScRsp>, IBufferMessage
	{
		// Token: 0x170000C2 RID: 194
		// (get) Token: 0x060002BC RID: 700 RVA: 0x00008C89 File Offset: 0x00006E89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AddBlacklistScRsp> Parser
		{
			get
			{
				return AddBlacklistScRsp._parser;
			}
		}

		// Token: 0x170000C3 RID: 195
		// (get) Token: 0x060002BD RID: 701 RVA: 0x00008C90 File Offset: 0x00006E90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AddBlacklistScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170000C4 RID: 196
		// (get) Token: 0x060002BE RID: 702 RVA: 0x00008CA2 File Offset: 0x00006EA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AddBlacklistScRsp.Descriptor;
			}
		}

		// Token: 0x060002BF RID: 703 RVA: 0x00008CA9 File Offset: 0x00006EA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AddBlacklistScRsp()
		{
		}

		// Token: 0x060002C0 RID: 704 RVA: 0x00008CB4 File Offset: 0x00006EB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AddBlacklistScRsp(AddBlacklistScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.blackInfo_ = ((other.blackInfo_ != null) ? other.blackInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060002C1 RID: 705 RVA: 0x00008D00 File Offset: 0x00006F00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AddBlacklistScRsp Clone()
		{
			return new AddBlacklistScRsp(this);
		}

		// Token: 0x170000C5 RID: 197
		// (get) Token: 0x060002C2 RID: 706 RVA: 0x00008D08 File Offset: 0x00006F08
		// (set) Token: 0x060002C3 RID: 707 RVA: 0x00008D10 File Offset: 0x00006F10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170000C6 RID: 198
		// (get) Token: 0x060002C4 RID: 708 RVA: 0x00008D19 File Offset: 0x00006F19
		// (set) Token: 0x060002C5 RID: 709 RVA: 0x00008D21 File Offset: 0x00006F21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerSimpleInfo BlackInfo
		{
			get
			{
				return this.blackInfo_;
			}
			set
			{
				this.blackInfo_ = value;
			}
		}

		// Token: 0x060002C6 RID: 710 RVA: 0x00008D2A File Offset: 0x00006F2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AddBlacklistScRsp);
		}

		// Token: 0x060002C7 RID: 711 RVA: 0x00008D38 File Offset: 0x00006F38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AddBlacklistScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.BlackInfo, other.BlackInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060002C8 RID: 712 RVA: 0x00008D88 File Offset: 0x00006F88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.blackInfo_ != null)
			{
				num ^= this.BlackInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060002C9 RID: 713 RVA: 0x00008DDD File Offset: 0x00006FDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060002CA RID: 714 RVA: 0x00008DE5 File Offset: 0x00006FE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060002CB RID: 715 RVA: 0x00008DF0 File Offset: 0x00006FF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			if (this.blackInfo_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.BlackInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060002CC RID: 716 RVA: 0x00008E4C File Offset: 0x0000704C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.blackInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BlackInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060002CD RID: 717 RVA: 0x00008EA4 File Offset: 0x000070A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AddBlacklistScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.blackInfo_ != null)
			{
				if (this.blackInfo_ == null)
				{
					this.BlackInfo = new PlayerSimpleInfo();
				}
				this.BlackInfo.MergeFrom(other.BlackInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060002CE RID: 718 RVA: 0x00008F0C File Offset: 0x0000710C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060002CF RID: 719 RVA: 0x00008F18 File Offset: 0x00007118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 50U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.blackInfo_ == null)
						{
							this.BlackInfo = new PlayerSimpleInfo();
						}
						input.ReadMessage(this.BlackInfo);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040000EE RID: 238
		private static readonly MessageParser<AddBlacklistScRsp> _parser = new MessageParser<AddBlacklistScRsp>(() => new AddBlacklistScRsp());

		// Token: 0x040000EF RID: 239
		private UnknownFieldSet _unknownFields;

		// Token: 0x040000F0 RID: 240
		public const int RetcodeFieldNumber = 3;

		// Token: 0x040000F1 RID: 241
		private uint retcode_;

		// Token: 0x040000F2 RID: 242
		public const int BlackInfoFieldNumber = 6;

		// Token: 0x040000F3 RID: 243
		private PlayerSimpleInfo blackInfo_;
	}
}
